package com.zhiliao.module.web.system.service;

import com.github.pagehelper.PageInfo;
import com.zhiliao.mybatis.model.TSysLog;

import java.util.Date;

/**
 * Description:
 *
 * @author qirong
 * @date 2018-10-26
 */
public interface LogService {

    /**
     * saveLog
     * @param content
     * @param createTime
     * @param username
     * @param type
     */
    void saveLog(String content, Date createTime, String username, String type);

    /**
     * page
     * @param pageNumer
     * @param pageSize
     * @param startTime
     * @param endTime
     * @return
     */
    PageInfo<TSysLog>  page(Integer pageNumer,Integer pageSize,String startTime,String endTime);

    /**
     * deleteById
     * @param logId
     * @return
     */
    String deleteById(Integer[] logId);

}
